
import {deepCopy} from '@/utils/tools'

let map = {

    organizationManage: 'organizationManage',
    auditingManage: 'auditingManage',


}

// 导航 (筛选无效项)
export default (powerConf,data):any =>{
    let cache = []
    
    for (let item of data){

        if(map[item.key] && !powerConf[map[item.key]]){
            continue
        }
        
        cache.push(item)
    }

    return cache
}